(a) where the share or a share for which the share was substituted was owned at the end of 1971 by the taxpayer or a person with whom the taxpayer did not deal at arm’s length, the amount by which the fair market value of the share or the share for which it was substituted, on valuation day, within the meaning of section 49 of the Act respecting the application of the Taxation Act (chapter I-4), exceeds the aggregate ofi. the actual cost, within the meaning of section 54 of the said Act, of the share or the share for which it was substituted, on 1 January 1972, to the taxpayer or the person with whom he did not deal at arm’s length, and
ii. all amounts each of which is an amount received by the taxpayer or the person with whom he did not deal at arm’s length after 31 December 1971 and before that time as a dividend on the share or the share for which it was substituted and in respect of which the corporation that paid the dividend has made an election under section 501, as it read in its application to a dividend that became payable before 1 January 1979;